#pragma once

//#ifdef _WIN32_WCE
//#error "CDHtmlDialog is not supported for Windows CE."
//#endif 

// showSub dialog

class showSub : public CDHtmlDialog
{
	DECLARE_DYNAMIC(showSub)

public:
	showSub(CWnd* pParent = NULL);   // standard constructor
	virtual ~showSub();
// Overrides

// Dialog Data
	enum { IDD = IDD_SHOWSUB, IDH = IDR_HTML_SHOWSUB };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual BOOL OnInitDialog();

	DECLARE_MESSAGE_MAP()

public:
	bool SetTextCaption(BSTR caption, bool isBold);
	virtual void OnDocumentComplete(LPDISPATCH pDisp, LPCTSTR szUrl);


	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
protected:
	 virtual void PostNcDestroy();
};
